package cn.sciento.farm.devicemanager.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wumu
 * @since 2019-11-15
 */
public class TenantConfig extends Model<TenantConfig> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String tenantId;

    private String aliyunAccessKey;

    private String aliyunAccessSecret;

    private String ysAppKey;

    private String ysSecret;

    private Long createTime;

    private Long updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getAliyunAccessKey() {
        return aliyunAccessKey;
    }

    public void setAliyunAccessKey(String aliyunAccessKey) {
        this.aliyunAccessKey = aliyunAccessKey;
    }

    public String getAliyunAccessSecret() {
        return aliyunAccessSecret;
    }

    public void setAliyunAccessSecret(String aliyunAccessSecret) {
        this.aliyunAccessSecret = aliyunAccessSecret;
    }

    public String getYsAppKey() {
        return ysAppKey;
    }

    public void setYsAppKey(String ysAppKey) {
        this.ysAppKey = ysAppKey;
    }

    public String getYsSecret() {
        return ysSecret;
    }

    public void setYsSecret(String ysSecret) {
        this.ysSecret = ysSecret;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TenantConfig{" +
        "id=" + id +
        ", tenantId=" + tenantId +
        ", aliyunAccessKey=" + aliyunAccessKey +
        ", aliyunAccessSecret=" + aliyunAccessSecret +
        ", ysAppKey=" + ysAppKey +
        ", ysSecret=" + ysSecret +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
